package com.hailiang.saas.auth.vo.verfication;

import com.hailiang.saas.auth.emuns.VerificationTypeEnum;
import com.hailiang.saas.auth.vo.AuthProtocol;
import lombok.Data;

/**
 * 密码找回协议(type = FIND_PWD)
 * @author : pangfuzhong
 * @description
 * @date : 2021/9/30 13:51
 */
@Data
public class PasswordFindProtocol extends AuthProtocol {

    // 验证码
    private String verificationCode;

    // 账号
    private String accountName;

    // 密码
    private String password;

    // 再次
    private String passwordAgain;

    @Override
    public VerificationTypeEnum getVerificationType() {
        return VerificationTypeEnum.FIND_PWD;
    }
}
